html,
body {
    width: 100%;
    height: 100%;
}

.main {
    width: 1200px;
    margin: 0 auto;
    border: none;
    min-width: 1200px;
}

.nav {
    position: fixed;
    right: 0px;
    top: 0px;
    background-color: #000;
    width: 30px;
    height: 100%;
    color: white;
    z-index: 100;
}

.nav h1 {
    width: 30px;
    font-size: 20px;
    text-align: center;
    padding: 20px 0;
    background-color: red;
    margin-bottom: 20px;
}

.nav h2 {
    width: 30px;
    text-align: center;
    padding: 20px 0;
    margin: 0 2px;
    border-bottom: 1px solid white;
}

.nav h2:hover {
    background-color: red;
}

.nav img {
    width: 30px;
    height: 30px;
}

.nav div:hover {
    background-color: red;
}

.nav div:nth-child(5) {
    margin-top: 300px;
}

.nav div:nth-child(7) {
    position: absolute;
    bottom: 20px;
    display: none;
    text-align: center;
    font-size: 14px;
}

header {
    width: 100%;
    height: 30px;
    background-color: #e6e6e6;
}

.h-nav {
    height: 30px;
}

.h-nav span {
    float: left;
    color: red;
    margin-left: 10px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}
.h-nav span a{
    color: red;
    text-decoration: none;
}
.h-nav ul li {
    height: 20px;
    margin-top: 5px;
    text-align: center;
    line-height: 20px;
    float: left;
    padding: 0 20px;
    border-right: 1px solid #ccc;
    cursor: pointer;
}

.h-nav ul li:nth-child(1) {
    color: red;
}

.h-nav ul li:nth-child(5) {
    color: red;
}

.h-nav ul li:nth-child(6) {
    font-size: 12px;
    color: red;
}

.m-header {
    height: 80px;
    width: 100%;
}

.m-nav {
    height: 60px;
}

.m-nav div {
    float: left;
    /* height: 60px; */
}

.m-nav img {
    height: 60px;
}

.m-nav span {
    /* font-size: 20px; */
    float: left;
    margin-right: 10px;
    margin-top: 30px;
}

.m-nav .box {
    width: 330px;
    height: 60px;
    margin-left: 40px;
}

.m-nav input {
    width: 280px;
    height: 26px;
    display: inline-block;
    margin-right: none;
    box-sizing: border-box;
    margin-top: 20px;
}

.m-nav button {
    display: inline-block;
    width: 50px;
    height: 26px;
    background-color: black;
    color: white;
    /* border: 1px solid #ccc; */
    cursor: pointer;
    /* margin-top: 20px; */
}

.m-nav h4 {
    float: left;
    font-size: 12px;
    line-height: 20px;
    color: #ccc;
    margin-top: 5px;
}

.m-nav ul li {
    float: left;
    font-size: 14px;
    line-height: 20px;
    margin-top: 5px;
    margin-left: 15px;
    cursor: pointer;
}

.m-nav div:nth-child(4) {
    border: 1px solid #ccc;
    width: 120px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin-top: 20px;
    margin-left: 100px;
}

.f-header {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    background-color: red;
}

.f-header .f-nav {
    height: 40px;
}
.f-header .fl{
    height: 160px;
    width:200px ;
    position: absolute;
    background-color: #000;
    display: none;
}
.f-header span:hover .fl{
    display: block;
}
.f-header .fl p{
    height: 40px;
    width: 200px;
}
.f-header .fl p:hover{
    background-color: red;
}
.f-nav div:nth-child(1) {
    float: left;
}

.f-nav div:nth-child(2) {
    float: right;
}

.f-nav span {
    width: 200px;
    height: 40px;
    color: white;
    text-align: center;
    line-height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    display: block;
    float: left;
    position: relative;
}

.f-nav ul {
    height: 40px;
    float: left;
}

.f-nav ul li {
    float: left;
    padding: 0 15px;
    height: 30px;
    margin-top: 5px;
    line-height: 30px;
    text-align: center;
    color: white;
    border-left: 1px solid #000;
}

.f-nav ul li:nth-child(1) {
    height: 40px;
    margin: 0px;
    line-height: 40px;
    background-color: black;
}

.f-nav ul li:hover {
    height: 40px;
    margin: 0px;
    line-height: 40px;
    background-color: black;
}

.f-nav ol {
    height: 40px;
}

.f-nav ol li {
    height: 20px;
    margin-top: 10px;
    float: left;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    color: white;
    padding: 0 5px;
    border-right: 1px solid white;
}

.f-nav ol li:nth-child(4) {
    border: none;
}

.banner img {
    width: 100%;
}

.content {
    width: 100%;
}

.content .inner {
    height: 740px;
    display: flex;
    flex-wrap: wrap;
}

.item {
    width: 280px;
    height: 350px;
    cursor: pointer;
    margin: 0px 5px 20px;
    box-sizing: border-box;
}

.item img {
    padding: 0 10px;
    width: 258px;
    border: 1px solid #ccc;
}

.item:hover {
    border: 1px solid red;
}

.item p {
    padding: 5px;
    font-size: 12px;
    line-height: 20px;
}

.item p span:nth-child(1) {
    color: red;
    font-size: 20px;
}

.item p span:nth-child(2) {
    text-decoration: line-through;
}

.item button {
    background-color: #000;
    color: white;
    width: 80px;
    margin-left: 90px;
    cursor: pointer;
}
.c-nav{
    width: 100%;
}
.c-nav .inner {
    height: 740px;
    display: flex;
    flex-wrap: wrap;
}
.c-nav .banr{
    width: 100%;
}
.footer{
    width: 100%;
}
.footer img{
    width: 100%;
}